package com.wwmz.pattern.factory.factory;

/**
 * Created by wumz on 2020/9/16 11:22
 */
public class Test {

    public static void main(String[] args) {
        ICourseFactory factory = new JavaCourseFactory();
        factory.create().recorded();

        factory = new PythonCourseFactory();
        factory.create().recorded();
    }
}
